﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/Site.Master" AutoEventWireup="true"
	CodeBehind="Help.aspx.cs" Inherits="Hematology.UserSite.Help" %>

<%@ Import Namespace="Hematology.Tools.Text" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphRecent" runat="server">
	<hmt:PageTitle runat="server" ID="ptTitle" Text='<%$ Resources:UserSite, resTopicQuestions %>' />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphHeadNews" runat="server">
	<div class="userFullPageContainer">
		<div class="columnContainer">
			<div class="columnContainerLeft">
				<div class="columnContainerTitle">
					<h2 class="pageSubTitle">
						<asp:Label runat="server" ID="lblSendQuestion" Text='<%$ Resources:UserSite, resSendQuestion %>' />
					</h2>
				</div>
				<div class="columnContainerContent">
					<div class="helpContainerControlText">
						<asp:Label runat="server" ID="lblUserName" Text='<%$ Resources:UserSite, resUserName %>' />
						<span class="asterisk">
							<asp:Label runat="server" ID="lblAsterisk1" Text='<%$ Resources:UserSite, resAsterisk %>' />
						</span>
					</div>
					<div class="helpContainerControl">
						<asp:TextBox runat="server" ID="txtUserName" MaxLength="100" />
						<asp:RequiredFieldValidator ID="vldUserNameIsRequired" runat="server" ControlToValidate="txtUserName"
							ErrorMessage='<%$ Resources:UserSite, resUsernameIsRequired %>' Display="None"
							SetFocusOnError="true" ValidationGroup="vgSendSupportEmail" />
					</div>
					<div class="helpContainerControlText">
						<asp:Label runat="server" ID="lblEmail" Text='<%$ Resources:UserSite, resEmail %>' />
						<span class="asterisk">
							<asp:Label runat="server" ID="lblAsterisk2" Text='<%$ Resources:UserSite, resAsterisk %>' />
						</span>
					</div>
					<div class="helpContainerControl">
						<asp:TextBox runat="server" ID="txtEmail" MaxLength="100" />
						<asp:RequiredFieldValidator ID="vldEmailIsRequired" runat="server" ControlToValidate="txtEmail"
							ErrorMessage='<%$ Resources:UserSite, resEmailIsRequired %>' Display="None" SetFocusOnError="true"
							ValidationGroup="vgSendSupportEmail" />
						<asp:RegularExpressionValidator runat="server" ID="vldEmailRegex" ControlToValidate="txtEmail"
							ValidationExpression="([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})"
							ErrorMessage='<%$ Resources:UserSite, resIncorrectEmailFormat %>' Display="None"
							SetFocusOnError="true" ValidationGroup="vgSendSupportEmail" />
					</div>
					<div class="helpContainerControlText">
						<asp:Label runat="server" ID="lblMessage" Text='<%$ Resources:UserSite, resMessage %>' />
						<span class="asterisk">
							<asp:Label runat="server" ID="lblAsterisk3" Text='<%$ Resources:UserSite, resAsterisk %>' />
						</span>
					</div>
					<div class="helpContainerControl">
						<asp:TextBox runat="server" ID="txtMessage" TextMode="MultiLine" />
						<asp:RequiredFieldValidator ID="vldMessageIsRequired" runat="server" ControlToValidate="txtMessage"
							ErrorMessage='<%$ Resources:UserSite, resMessageIsRequired %>' Display="None"
							SetFocusOnError="true" ValidationGroup="vgSendSupportEmail" />
					</div>
				</div>
				<div class="columnContainerTitleFooter">
					<div class="userFullPageButtonWrapper">
						<asp:CheckBox runat="server" ID="cbSendMeSupportEmailCopy" Text='<%$ Resources:UserSite, resSendMeSupportEmailCopy %>' />
					</div>
					<div class="userFullPageButtonWrapper">
						<asp:Button runat="server" ID="btnSendQuestion" Text='<%$ Resources:UserSite, resSend %>'
							OnClick="btnSendQuestion_Click" ValidationGroup="vgSendSupportEmail" />
						<asp:ValidationSummary runat="server" ID="vsLogin" DisplayMode="BulletList" ValidationGroup="vgSendSupportEmail"
							ShowMessageBox="True" ShowSummary="False" />
					</div>
				</div>
			</div>
			<div class="columnContainerRight">
				<div class="columnContainerTitle">
					<h2 class="pageSubTitle">
						<asp:Label runat="server" ID="lblFaq" Text='<%$ Resources:UserSite, resFAQ %>' />
					</h2>
				</div>
				<div class="columnContainerContent">
					<asp:Repeater runat="server" ID="rptFaqItems">
						<HeaderTemplate>
							<ul>
						</HeaderTemplate>
						<ItemTemplate>
							<li>
								<h1>
									<asp:Label runat="server" ID="lblQuestion" Text='<%# Eval("Question") %>' />
								</h1>
								<h2>
									<asp:Label runat="server" ID="lblAnswer" Text='<%# Eval("Answer") %>' />
								</h2>
							</li>
						</ItemTemplate>
						<FooterTemplate>
							</ul>
						</FooterTemplate>
					</asp:Repeater>
				</div>
				<div class="columnContainerTitleFooter">
					<div class="userFullPageButtonWrapper">
						&nbsp;
					</div>
				</div>
			</div>
		</div>
	</div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphBody" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cphPanel" runat="server">
</asp:Content>
